package appapi.entity.app;

import appapi.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel
@Data
public class OnsitedetailEntity extends BaseEntity {
    @ApiModelProperty(value = "记录ID",required = true)
    private Long onsiteRecId;
    @ApiModelProperty(value = "巡检记录ID",required = true)
    @NotNull(message = "巡检记录ID")
    private Long onsiteId;
    @ApiModelProperty(value="项目名称")
    private Integer projId;
    /**
     * 检测项目
     */
    @ApiModelProperty(value="检测项目")
    private String onsiteItem;

    /**
     * 0正常 1异常
     */
    @ApiModelProperty(value="0正常 1异常")
    private Integer onsiteResult;

    @ApiModelProperty(value="")
    private String auditNote;

    @ApiModelProperty(value="")
    private String onsiteDesc;

    @ApiModelProperty(value="")
    private Integer auditState;
    @ApiModelProperty(value = "巡检图片")
    private String imgUrl;
}
